docs: trivial fixes in GtkApplication-related documentation
authorSébastien Wilmet <swilmet@gnome.org>
Fri, 8 Apr 2016 18:13:07 +0000 (20:13 +0200)
committerSébastien Wilmet <swilmet@gnome.org>
Sat, 9 Apr 2016 07:45:33 +0000 (09:45 +0200)
gtk/gtkactionable.c
gtk/gtkapplication.c
gtk/gtkapplicationwindow.c
gtk/gtkwindow.c

index b41aabb030941aa74a17ef1e9947cee5bff53ef8..1459811f371b2dcfd892c49f94b6a8d4ff1d78a2 100644 (file)
@@ -40,7 +40,7 @@
  * The action will be looked up in action groups that are found among
  * the widgets ancestors. Most commonly, these will be the actions with
  * the “win.” or “app.” prefix that are associated with the #GtkApplicationWindow
- * or "GtkApplication, but other action groups that are added with
+ * or #GtkApplication, but other action groups that are added with
  * gtk_widget_insert_action_group() will be consulted as well.
  *
  * Since: 3.4
index ace8b1576bf3cbfa6fcf0b4e4d0d3c25e0bcd202..b57ebfbc01cf4958afde88965d960c17db71cdc5 100644 (file)
  * defines a #GtkShortcutsWindow with ID "help_overlay" then GtkApplication
  * associates an instance of this shortcuts window with each
  * #GtkApplicationWindow and sets up keyboard accelerators (Control-F1
- * and Control-?) to open it. To create an menu item that displays the
- * shortcuts window associate the item with the action win.show-help-overlay.
+ * and Control-?) to open it. To create a menu item that displays the
+ * shortcuts window, associate the item with the action win.show-help-overlay.
  *
  * ## A simple application ## {#gtkapplication}
  *
@@ -1519,7 +1519,7 @@ gtk_application_get_menubar (GtkApplication *application)
  * types of actions that may be blocked are specified by the @flags
  * parameter. When the application completes the operation it should
  * call gtk_application_uninhibit() to remove the inhibitor. Note that
- * an application can have multiple inhibitors, and all of the must
+ * an application can have multiple inhibitors, and all of them must
  * be individually removed. Inhibitors are also cleared when the
  * application exits.
  *
index 41cbee949eb722b77c9c88952055187591f5767d..f921a3d84d02ac24e1692e3d2581cf8a6928a88f 100644 (file)
@@ -38,7 +38,7 @@
  * @title: GtkApplicationWindow
  * @short_description: GtkWindow subclass with GtkApplication support
  *
- * GtkApplicationWindow is a #GtkWindow subclass that offers some
+ * #GtkApplicationWindow is a #GtkWindow subclass that offers some
  * extra functionality for better integration with #GtkApplication
  * features.  Notably, it can handle both the application menu as well
  * as the menubar. See gtk_application_set_app_menu() and
@@ -52,9 +52,9 @@
  * prefix.  Actions must be addressed with the prefixed name when
  * referring to them from a #GMenuModel.
  *
- * Note that widgets that are placed inside a GtkApplicationWindow
+ * Note that widgets that are placed inside a #GtkApplicationWindow
  * can also activate these actions, if they implement the
- * GtkActionable interface.
+ * #GtkActionable interface.
  *
  * As with #GtkApplication, the GDK lock will be acquired when
  * processing actions arriving from other processes and should therefore
index 72053cf8930fd64a0022786010be5a27b34453a5..b19a643059fe122050d92bfd23d799c341f1354a 100644 (file)
@@ -1097,7 +1097,7 @@ gtk_window_class_init (GtkWindowClass *klass)
    *
    * Normally, the connection between the application and the window
    * will remain until the window is destroyed, but you can explicitly
-   * remove it by setting the ::application property to %NULL.
+   * remove it by setting the :application property to %NULL.
    *
    * Since: 3.0
    */